package com.lw.function;

import java.util.function.Supplier;

/**
 * @author Administrator
 * @version 1.0
 * @description:
 * @date 2022/4/26 21:10
 */
public class TestSupplier {
    public static void main(String[] args) {
        Supplier<String> supplier=()->"zhangsan";

        String s=supplier.get();
        System.err.println(s);
    }
}
